Find a solution:
userDefaults.addObserver(self, forKeyPath: "youKey", options: .new, context: nil)
And:
override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
//do something
}
Post
Replies
Boosts
Views
Activity
Can you post an example how to do this? Thx ;)
I've the same problem, but as far I can see I don't dequeue twice. Can someone help me out here?
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "NieuwsCollectionViewControllerCell", for: indexPath) as! NieuwsCollectionViewCell
let feedRow = MyNewsLoader.shared.returnNews()[indexPath.row]
let feedTitle = feedRow.title
let feedDescription = feedRow.description?.trimHTMLTags()
let feedLink = feedRow.link
cell.feedTitle?.text = feedTitle
cell.feedDescription?.text = feedDescription
return cell
}
What going wrong here?
Any news on this? Just updated my mac to and encounter the same problems: widgets arent updated fi.
Thx @vadimwe ... you helped me out here ;)
I got the same error suddenly in my radio-app. The artwork is shown normally. Never saw this error before. Suddenly the artwork on the AppleWatch-app isn't shown anymore maybe because of this entitlement? Anyone any idea?
Same problem here :(
tvOS beta 5 shows the metadata again :)
You need to set the buttons on or off:
commandCenter.skipBackwardCommand.isEnabled = false
commandCenter.skipForwardCommand.isEnabled = false
commandCenter.playCommand.isEnabled = true
commandCenter.pauseCommand.isEnabled = true
commandCenter.previousTrackCommand.isEnabled = true
commandCenter.nextTrackCommand.isEnabled = true
commandCenter.stopCommand.isEnabled = true
I hope this example helps you out ;)
I don't know wat 1180 means, but a possible problem could be that if you use a https-stream which is redirected to http the stream is block due to security reasons. When you allow arbitrary downloads the stream will play.
Did you solve the issue? I had the same problem in my radio-app. I added a customer written statement in AppStore Connect:
Hello iTunes Connect Team,
This is to state that [Customer Name] has authorized [Your Name] from [Your Company Name] for its Mobile Application development and deployment.
[Your Name] from [Your Company Name] have all the rights to publish the app under the name of [Product Name].
Our registration at Buma/Stemra is: [number] and at Sena is: [number]
Please treat this document as a proof which indicates our rights.
Thank you for your anticipation.
Name: [Customer Name]
Autograph: ***
Sorry, didn't see your respons. It works oke now. I think it was a bug in iOS. In the meantime I added some properties to the nowPlayingInfo:
audioInfo.nowPlayingInfo = [MPMediaItemPropertyTitle: artist!, MPMediaItemPropertyArtist: title!, MPMediaItemPropertyAlbumTitle: radioName, MPMediaItemPropertyMediaType: MPNowPlayingInfoMediaType.audio.rawValue, MPMediaItemPropertyAssetURL: radioURL!, MPMediaItemPropertyArtwork: radioArtwork, MPNowPlayingInfoPropertyIsLiveStream: true, MPNowPlayingInfoPropertyPlaybackRate: 1.0]
It varies: a day or sometimes a week for updates on publiced apps.
For new apps it could take longer. Most of the time I got a request for additional information.
Same problem here ;-(
Samen problem, did you find a solution?